package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Setter
@Getter
public class Question extends BaseDomain{
    //提问人
    private User user;
    //发布问题时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GM+8")
    private Date createTime;
    //提问内容
    private String content;
    //相关地区
    private Region region;
    //图片
    private String imgUrl;
    //回答数量
    private int ansNum;
}